<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>
        登录
    </title>
    <script src="/static/lib/jquery/jquery-2.1.3.min.js"></script>
</head>
登录成功,正在跳转...
<body>
<script type="text/javascript">
    function getUrlParam(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
        var r = window.location.search.substr(1).match(reg);  //匹配目标参数
        if (r != null) return unescape(r[2]); return null; //返回参数值
     }
    $(function(){
        ticket =  getUrlParam("ticket");
        parent.aflogin(ticket);
     })
</script>
</body>
</html>
